Not doing this means the next time the same surface is shown, if the
shadow size wasn't changed, it wouldn't be sent to the compositor, which
then would result in compositor deriving its own window geometry which
would include the shadow margin.
This fixes an issue where the file chooser dialog would grow each time
it opened.
unset_transient_for_exported (surface);
+ impl->last_sent_window_geometry = (GdkRectangle) { 0 };
+
_gdk_wayland_surface_clear_saved_size (surface);
impl->mapped = FALSE;
}